package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Description: 删除推荐商品入参类
 * @Author: zhuchi
 * @CreateDate: 2020/11/20 0:29
 * @Version: 1.0
 */
@Data
@ApiModel(value = "删除推荐商品入参类")
public class DelRecommendProductModel {

    /**
     * 推荐ID
     */
    @NotNull(message = "请选择要删除的商品")
    @Size(min = 1, message = "请选择要删除的商品")
    @ApiModelProperty(value = "推荐ID")
    private List<Long> recommendIds;

    /**
     * 推荐类型（1:秒杀,2:满减,3:每日推荐,4:美味推荐,5:首页底部）
     */
    @NotNull(message = "请填写推荐类型")
    @ApiModelProperty(value = "推荐类型（1:秒杀,2:满减,3:每日推荐,4:美味推荐,5:首页底部）")
    private Integer type;

}
